package com.fishery.base.service.impl;

import com.fishery.base.entity.Germchit;
import com.fishery.base.mapper.GermchitMapper;
import com.fishery.base.service.GermchitService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Ghost
 * @since 2021-01-15
 */
@Service
public class GermchitServiceImpl extends ServiceImpl<GermchitMapper, Germchit> implements GermchitService {

	@Autowired
	private GermchitMapper germchitMapper;

	@Override
	public String getSpeciesOfGermchit(String germchitId) {
		return germchitMapper.selectSpeciesOfGermchit(germchitId);
	}

	@Override
	public Germchit traceGermchitById(String id) {
		return germchitMapper.findGermchitByIdEvenDelete(id);
	}
}
